package com.ruike.alisurface.ui.setting;

import android.view.View;

import com.ruike.alisurface.R;
import com.ruike.alisurface.Serials.MsgEventBus;
import com.ruike.alisurface.base.BaseAty;
import com.voodoo.lib_sknipeeler.SkinManager;
import com.voodoo.lib_utils.L;

import butterknife.OnClick;

/**
 * Author: voodoo
 * CreateDate: 2020/05/09 009 11:03 上午
 * Description: 换肤选择界面
 */
public class ChangeSknipeelerActivity extends BaseAty {

    @Override
    public void doEventBusResult(MsgEventBus event) {

    }

    @Override
    protected int getLayoutResId() {
        return R.layout.activity_change_sknipeeler;
    }

    @Override
    protected void initViews() {
        initTitleBar(false);
    }

    @Override
    protected void initData() {

    }

    @OnClick({R.id.changeSkni_goback, R.id.changeSkni_defult_tv, R.id.changeSkni_dark_tv})
    @Override
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.changeSkni_goback:
                finish();
                break;
            case R.id.changeSkni_defult_tv:
                L.i("还原默认");
                SkinManager.getInstance().loadSkin("");
                break;
            case R.id.changeSkni_dark_tv:
                L.i("修改皮肤");
                SkinManager.getInstance().loadSkin("/sdcard/skin.apk");
                break;
        }
    }

}
